using System;

//note this interface should be platform independent,
//that means you better not using the Sce.blah.. namespace, and classes within it
namespace VitaReader
{
	/*struct CharMetric
	{
		public float Width;
		public float Height;
	};*/
	
	//user interface/view of the reader
	public interface IReaderView
	{
		void Initialize();
		void Update();
		void Shutdown();
		
		//get the text height using current font
		float	GetTextHeight(String text);
		int		GetTextWidth(String text);
		int		GetCharWidth(char c);
		
		int		GetFontHeight();
		//CharMetric	GetCharacterMetric(char c,int fontSize);
				
		int Width		{get;}
		
		int Height		{get;}
		
		IReader Owner	{get;}
		
		//the max length of a String that could be shown within one screen
		int MaxCharacterPerView		{get;}
		
		float MaxTextHeight			{get;}
		
		//global button size info
		float ButtonPadding			{get;}
		
		float ButtonWidth			{get;}
		
		float ButtonHeight			{get;}
	}
}

